gtk4.git
27 years agoreplaced some gtk_object_data_force_id with g_quark_from_static_string
Tim Janik [Fri, 19 Jun 1998 02:07:47 +0000 (02:07 +0000)]
replaced some gtk_object_data_force_id with g_quark_from_static_string

Fri Jun 19 03:29:04 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkaccelgroup.c:
        * gtk/gtkbindings.c:
        * gtk/gtkcontainer.c:
        * gtk/gtkitemfactory.c:
        * gtk/gtkobject.c:
        * gtk/gtksignal.c:
        * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
        g_quark_from_static_string calls to save memory.

        * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
        function _after_ the new data has been setup.
        minor changes to object data functions to feature the GQuark type.

27 years agoRemove --g-fatal-warnings flag from argv.
Owen Taylor [Fri, 19 Jun 1998 01:26:24 +0000 (01:26 +0000)]
Remove --g-fatal-warnings flag from argv.

Thu Jun 18 21:13:54 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
  from argv.

Thu Jun 18 20:22:28 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/genmarshal.pl: Modified to be more idiomatic Perl,
  to be more readable perl, to spit out stuff that looks
  more like readable C, and to pipe output through indent
  so output looks a lot like readable C. No functional
  changes.

Thu Jun 18 17:43:31 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
  necessary when switching to a masked pixmap. (Based on a patch
  from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)

Thu Jun 18 16:18:10 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkeditable.[ch]: Added action signals for keyboard
      bindings. (move_cursor, kill_word, etc, etc, etc).

          removed the time argument from
  gtk_editable_cut/copy/paste_clipboard (source but not
          binary incompatible...) Instead get time from
  gtk_get_current_event ().

* gtk/gtktext.c gtk/gtkentry.c: Support the new editable
  signals.

Thu Jun 18 02:52:09 1998  Owen Taylor  <otaylor@gtk.org>

Patches from Damon Chaplin <DAChaplin@email.msn.com>:

        gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
     parent class to GtkNotebookClass when splitting the widget in
     two.  Also updated some comments.

        gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
               button without a font selected.

             Fixed bug in set_font_name - I hadn't updated the code to
               search for the style in the font_style clist - it was
               still assuming the style row was equal to its index,
               but it isn't any more.

             Changed 'Reset' button on filter page to 'Clear Filter'.
             Deleted old code relating to the old 'Filter Fonts' toggle
             Updated some comments.
             Cleared 'Actual Fontname' if no font is set.

        gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
     destroying the GtkFontSelection instead of the
             GtkFontSelectionDialog.

Thu Jun 18 02:15:31 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
  flag to make all warnings fatal errors.

* gtk/testthreads.c: moved <pthreads.h> include inside
  #ifdef USE_PTHREADS

Thu Jun 18 01:37:31 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c
  gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:

- Added new function gtk_container_set_resize_mode() for
  fine-grained control of where resize-queueing is done.

- Removed GtkContainer::need_resize and GtkWindow::move_resize
- Added GtkContainer::check_resize to replace need_resize.

- Added function gtk_container_check_resize() to trigger
  queued resizes, and gtk_container_resize_children() to
  Figure which children need to be size-allocated. (logic
  moved from gtkwindow.c)

- Reorganized code in gtkwindow.c

- Set the resize-mode for viewports so that resizes within
  a viewport don't propagate out of it.

27 years agoUse pointer<->int conversion macros to avoid warnings.
Federico Mena Quintero [Thu, 18 Jun 1998 22:32:36 +0000 (22:32 +0000)]
Use pointer<->int conversion macros to avoid warnings.

1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.

* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
g_return_val_if_fail, because the function *does* return a value.

27 years agoyeppers, accelerator changes to fix the gimp. commit message dedicated to
Tim Janik [Thu, 18 Jun 1998 03:22:09 +0000 (03:22 +0000)]
yeppers, accelerator changes to fix the gimp. commit message dedicated to

yeppers, accelerator changes to fix the gimp.
commit message dedicated to sopwith ;)

Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkaccellabel.h:
        * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
        request the size of the accelerator portion of an accel label.
        (gtk_accel_label_size_request): don't request for the accelerators size.
        (gtk_accel_label_expose_event): only draw the accelerator if we got
        enough extra space.

        * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
        width from children.

        * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
        object (after removal has been requested) check if there is still an
        accelerator remaining to avoid adding two accelerators on an object.
        this can happen for locked accelerators (or accelerator-frozen widgets).
        (gtk_menu_size_request): feature childrens accelerator width in size
        requests.

        * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
        gtk_widget_freeze_accelerators() for dynamically created menu items.

        * gtk/gtksignal.h:
        * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
        which will return a handler_id > 0 if the specified function is pending
        for `signal_id'.

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
        a signal handler function to stop accelerator addition.
        added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
        which will prevent (undo) any accelerators from being added to or
        removed from a widget.

27 years ago*** empty log message ***
Stefan Jeske [Wed, 17 Jun 1998 20:09:43 +0000 (20:09 +0000)]
*** empty log message ***

27 years agoChanged GtkSpinButtonUpdatePolicy enum, added keyboard
Stefan Jeske [Wed, 17 Jun 1998 20:07:31 +0000 (20:07 +0000)]
Changed GtkSpinButtonUpdatePolicy enum, added keyboard
acceleration, new API gtk_spin_button_set_snap_to_ticks.

27 years agonew function gdk_window_at_pointer() to retrive the current GdkWindow the
Tim Janik [Wed, 17 Jun 1998 08:48:22 +0000 (08:48 +0000)]
new function gdk_window_at_pointer() to retrive the current GdkWindow the

Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdk.h:
        * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
        the current GdkWindow the pointer is on if there is any.

        * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
        and one column, so we don't construction logic at all. changed a few
        (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
        unsigned int wraps.

        * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
        portion, added an additional check for parent != widget.

        * more GtkType and macro fixups.

27 years agoFixed functions with no arguments
Elliot Lee [Wed, 17 Jun 1998 05:12:27 +0000 (05:12 +0000)]
Fixed functions with no arguments

27 years agoNow accepts an extra "clip" parameter, which is the clipping rectangle to
Federico Mena Quintero [Wed, 17 Jun 1998 03:34:22 +0000 (03:34 +0000)]
Now accepts an extra "clip" parameter, which is the clipping rectangle to

1998-06-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
"clip" parameter, which is the clipping rectangle to use.  This
eliminates the extremely annoying flicker when exposing parts of
the handlebox.

27 years agofix from TimJ for off-by-one error in table resizing
Manish Singh [Tue, 16 Jun 1998 21:09:24 +0000 (21:09 +0000)]
fix from TimJ for off-by-one error in table resizing

-Yosh

27 years agoTODO
Stefan Jeske [Tue, 16 Jun 1998 07:39:06 +0000 (07:39 +0000)]
TODO

27 years agoboy! did i really modify that many files?
Tim Janik [Tue, 16 Jun 1998 05:20:05 +0000 (05:20 +0000)]
boy! did i really modify that many files?
anyways, here go the child args and a lot of cleanups ;)
you wouldn't want me to put the ChangeLog entry in here, would you?

27 years agoMoved font lists from the klass structure to a static structure in
Owen Taylor [Tue, 16 Jun 1998 03:40:04 +0000 (03:40 +0000)]
Moved font lists from the klass structure to a static structure in

Mon Jun 15 23:39:44 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
lists from the klass structure to a static structure
in gtkfontsel.c; cleans up global the namespace.

Mon Jun 15 22:16:10 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/makeenums.pl (parse_entries): Fix (untriggered)
bug with /*< skip >*/ and remove warning.

27 years agoAdded maintainer-rule autogened files
Manish Singh [Tue, 16 Jun 1998 01:17:43 +0000 (01:17 +0000)]
Added maintainer-rule autogened files

-Yosh

27 years agoMade the gtkmarshal.* generation rules maintainer-only.
Owen Taylor [Tue, 16 Jun 1998 00:13:04 +0000 (00:13 +0000)]
Made the gtkmarshal.* generation rules maintainer-only.

Mon Jun 15 20:14:09 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/Makefile.am: Made the gtkmarshal.* generation
rules maintainer-only.

Really add makeenums.pl (this is getting to be a bad habit)

27 years agoActually add in the files...
Owen Taylor [Mon, 15 Jun 1998 23:29:27 +0000 (23:29 +0000)]
Actually add in the files...

27 years agogdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl
Owen Taylor [Mon, 15 Jun 1998 21:27:17 +0000 (21:27 +0000)]
gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl

Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>

* gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h
  gtk/Makefile.am gtk/makenums.pl

Removed out the G_ENUM/FLAGS mechanism in favor
of a perl script that parses the standard headers
(with occasional /*< nick=foo >*/ style overrides)
and extracts the enumerations.

  gtk/maketypes.awk: Small improvments to the
  translation of names. (Avoid splitting gc into
  g_c_.)

Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/Makefile.am gtk/gtk.h gtk/gtkfontsel.[ch] gtk/testgtk.c:
Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget,
        and a simple example for testgtk.

Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkentry.c:
- Restored gtk_entry_adjust_scroll to static
- Changed text positioning code so that we always
  display as large a portion of the text as possible.

Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtktext.c (gtk_text_finalize): Free internal
structures of text widget. Also, unreference pixmaps
when unrealizing.

Sat Jun 13 19:14:39 1998  Owen Taylor  <otaylor@gtk.org>

* gdk/gdkinputcommon.h (gdk_input_device_new): Change
3.3.1 bug workaround to number keys starting at 1.

Sat Jun 13 11:56:57 1998  Owen Taylor  <otaylor@gtk.org>

* docs/gtk_tut.sgml: Fixed urls for complete example
source for scribble+widget-writing examples.

27 years agoRedo (and complete) movement of all pointer types into pointer_data in the GtkArg...
Elliot Lee [Sun, 14 Jun 1998 16:59:42 +0000 (16:59 +0000)]
Redo (and complete) movement of all pointer types into pointer_data in the GtkArg union

27 years agoReformat two function prototypes for cosmetics
Elliot Lee [Sun, 14 Jun 1998 16:50:48 +0000 (16:50 +0000)]
Reformat two function prototypes for cosmetics

27 years agoreverting changes that depend on other code which i'm going to
Tim Janik [Sun, 14 Jun 1998 15:02:05 +0000 (15:02 +0000)]
reverting changes that depend on other code which i'm going to
commit later this night (so gtk at least compiles for people).

27 years agoheal gtk. ;)
Tim Janik [Sun, 14 Jun 1998 14:37:39 +0000 (14:37 +0000)]
heal gtk. ;)

27 years agos/string_data/pointer_data/ as needed to match GtkArg
Elliot Lee [Sun, 14 Jun 1998 07:58:02 +0000 (07:58 +0000)]
s/string_data/pointer_data/ as needed to match GtkArg

s/string_data/pointer_data/ as needed to match GtkArg

27 years agoPatch from Tom Bech <tomb@ii.uib.no>, to handle color specs of the form c
Owen Taylor [Sat, 13 Jun 1998 15:51:34 +0000 (15:51 +0000)]
Patch from Tom Bech <tomb@ii.uib.no>, to handle color specs of the form c

Sat Jun 13 11:48:26 1998  Owen Taylor  <otaylor@gtk.org>

* gdk/gdkpixmap.c (gdk_pixmap_extract_color):
Patch from Tom Bech <tomb@ii.uib.no>, to handle color
specs of the form c #abcdef [ more keys ] properly.

27 years ago*** empty log message ***
Stefan Jeske [Sat, 13 Jun 1998 09:02:05 +0000 (09:02 +0000)]
*** empty log message ***

27 years agoNew API to set the shadow type of the arrow panel.
Stefan Jeske [Sat, 13 Jun 1998 08:56:27 +0000 (08:56 +0000)]
New API to set the shadow type of the arrow panel.

27 years agoRemoved code for drawing the child in two places at once. Unfortunately,
Owen Taylor [Sat, 13 Jun 1998 01:36:28 +0000 (01:36 +0000)]
Removed code for drawing the child in two places at once. Unfortunately,

Fri Jun 12 21:20:42 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
code for drawing the child in two places at once. Unfortunately,
not only does it not work anymore (because reparenting has
been fixed), but it also triggers reparent/expose loops
in some cases.

* gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
an unecessary unrealize.

27 years agorenamed enum GtkAnchor and GtkSide to GtkAnchorType and GtkSideType, to be
Tim Janik [Fri, 12 Jun 1998 08:10:29 +0000 (08:10 +0000)]
renamed enum GtkAnchor and GtkSide to GtkAnchorType and GtkSideType, to be

Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkpacker.h:
        * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
        and GtkSideType, to be consistent with the rest of Gtk's enum
        definitions. wrapped the enum definitions with the G_ eunm wrappers.
        spelled out the GTK_ANCHOR_* enum values, since single letters don't
        work out corectly as nick-names (left the old values as aliases).
        some signdness corrections (border-width, spacing), could stand more.

27 years agoAdded gtkpacker
CDT 1998 Shawn T. Amundson [Fri, 12 Jun 1998 00:49:11 +0000 (00:49 +0000)]
Added gtkpacker

Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

        * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am:
          Added gtkpacker

        * examples/packer/pack.c, examples/packer/Makefile: Added
          gtkpacker example

27 years agoRemoved glib, since it's in its own module now.
Dick Porter [Thu, 11 Jun 1998 20:00:42 +0000 (20:00 +0000)]
Removed glib, since it's in its own module now.

27 years agoFixed broken list-removal code.
Owen Taylor [Thu, 11 Jun 1998 17:52:12 +0000 (17:52 +0000)]
Fixed broken list-removal code.

Thu Jun 11 13:09:00 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtktext.c (remove_cache_line): Fixed broken
list-removal code.

* gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
Check bounds before deleting.

27 years agoSupport ACLOCAL_FLAGS
Owen Taylor [Thu, 11 Jun 1998 03:19:39 +0000 (03:19 +0000)]
Support ACLOCAL_FLAGS

Wed Jun 10 23:21:33 1998  Owen Taylor  <otaylor@gtk.org>

* autogen.sh: Support ACLOCAL_FLAGS

27 years ago#define GTK_HAVE_ACCEL_GROUP
Manish Singh [Thu, 11 Jun 1998 01:45:22 +0000 (01:45 +0000)]
#define GTK_HAVE_ACCEL_GROUP

-Yosh

27 years agoAdded missing quotes.
Owen Taylor [Thu, 11 Jun 1998 00:52:24 +0000 (00:52 +0000)]
Added missing quotes.

Wed Jun 10 20:54:37 1998  Owen Taylor  <otaylor@gtk.org>

* gtk-config.in: Added missing quotes.

27 years agoRenamed from G_COMPILED_WITH_DEBUGGING.
Raja R Harinath [Thu, 11 Jun 1998 00:27:08 +0000 (00:27 +0000)]
Renamed from G_COMPILED_WITH_DEBUGGING.

* acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
G_COMPILED_WITH_DEBUGGING.

27 years agoExplain check better.
Raja R Harinath [Thu, 11 Jun 1998 00:12:59 +0000 (00:12 +0000)]
Explain check better.

* configure.in (fd_set): Explain check better.

* acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
the version from which gtk+'s libtool forked.  Needed for people
who use post-1.2 alphas of libtool.

27 years agoRemove last remaining file
Raja R Harinath [Wed, 10 Jun 1998 23:52:31 +0000 (23:52 +0000)]
Remove last remaining file

27 years agoglib/* Moved to glib module
Owen Taylor [Wed, 10 Jun 1998 23:44:55 +0000 (23:44 +0000)]
glib/* Moved to glib module

Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>

* glib/* Moved to glib module

* INSTALL Makefile.am acconfig.h autogen.sh configure.in
  gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am

  configuration changes for the above:

  - Use AM_PATH_GLIB by default to find glib; also accept
    a --with-glib option for using an uninstalled glib.

  - Put --enable-debug information into config.h so
    that we rebuild when it changes. (was in glibconfig.h)

27 years agoadapted clist pixmap clipping
Lars Hamann [Wed, 10 Jun 1998 21:48:21 +0000 (21:48 +0000)]
adapted clist pixmap clipping

        * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping

        * gtk/gtknotebook.h (struct _GtkNotebookClass):
        * gtk/gtknotebook.c (gtk_real_notebook_switch_page):
        added missing argument (according to Joseph Coleman's bug report)

        * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
        function to fix notebook focus handling

27 years agoRenamed g_const_pointer => gconstpointer.
Owen Taylor [Wed, 10 Jun 1998 16:59:28 +0000 (16:59 +0000)]
Renamed g_const_pointer => gconstpointer.

27 years agoprevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this
Tim Janik [Wed, 10 Jun 1998 07:32:52 +0000 (07:32 +0000)]
prevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this

Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
        invoked with (NULL, NULL); (this worked sometime ago).

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: enum and flags type creation can now be done
        through gtk_type_register_enum() and gtk_type_register_flags(),
        which allow to specify the enum value arrays directly.
        the NULL terminated value arrays can be retrived through
        gtk_type_enum_get_values() and gtk_type_flags_get_values();
        (gtk_type_children_types): new function to query derived types.

27 years agoenum and flags type creation can now be done through
Tim Janik [Wed, 10 Jun 1998 04:55:22 +0000 (04:55 +0000)]
enum and flags type creation can now be done through

Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: enum and flags type creation can now be done
        through gtk_type_register_enum() and gtk_type_register_flags(),
        which allow to specify the enum value arrays directly.
        the NULL terminated value arrays can be retrived through
        gtk_type_enum_get_values() and gtk_type_flags_get_values();

27 years agoThinko... The ChangeLog entry still stands.
Raja R Harinath [Wed, 10 Jun 1998 02:15:50 +0000 (02:15 +0000)]
Thinko...  The ChangeLog entry still stands.

27 years agoAdd $(srcdir) where needed (in the rule), and removed it where not needed
Raja R Harinath [Wed, 10 Jun 1998 02:10:23 +0000 (02:10 +0000)]
Add $(srcdir) where needed (in the rule), and removed it where not needed

1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>

* gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Add $(srcdir)
where needed (in the rule), and removed it where not needed
(in the dependencies).

27 years agoPass $srcdir in environment to genmarshal.pl. Look for `gtkmarshal.list'
Raja R Harinath [Wed, 10 Jun 1998 01:04:46 +0000 (01:04 +0000)]
Pass $srcdir in environment to genmarshal.pl. Look for `gtkmarshal.list'

1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>

* gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
environment to genmarshal.pl.
* gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.

27 years agomore const pointer corrections.
Tim Janik [Wed, 10 Jun 1998 00:54:54 +0000 (00:54 +0000)]
more const pointer corrections.

27 years agoRemoved g_object_pointer_hash, which was just g_direct_hash.
Owen Taylor [Tue, 9 Jun 1998 23:18:11 +0000 (23:18 +0000)]
Removed g_object_pointer_hash, which was just g_direct_hash.

Tue Jun  9 18:44:57 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkobject.c: Removed g_object_pointer_hash, which
was just g_direct_hash.

Mon May 25 19:54:20 1998  Owen Taylor  <otaylor@gtk.org>

* configure.in: x_libs=, not $x_libs=. Enough said.
          (Case only hit for --disable-xshm)

Mon May 25 12:08:14 1998  Owen Taylor  <otaylor@gtk.org>

* configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
  when testing for X libraries, don't replace them. Because
  the user might have specified the path to the X libraries
  themself before running configure.

* examples/**.c: Changed all gpointer * to gpointer

Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>

* configure.in (LDFLAGS): Bomb out with a moderately
  helpful message if detection of X libraries fails.

Sat May 23 18:57:06 1998  Owen Taylor  <otaylor@gtk.org>

  [ Combination of:
     gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
     gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]

* gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
  gtk/gtksignal.c gtk/gtktext.c:

  Fixups for warnings from adding const to type of GHashFunc,
  GCompareFunc

* gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
  ansi-warnings fixups.

Tue Jun  9 17:47:33 1998  Owen Taylor  <otaylor@gtk.org>

* glib.h: Remove #error - HP/UX.

Sat May 23 19:00:01 1998  Owen Taylor  <otaylor@gtk.org>
  [ Combination of:
     gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
     gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]

* glib.h ghash.c gstring.c gdataset.c gutils.c:
- Added new typedef g_const_pointer; expunged all incorrect
  uses of 'const gpointer'.
- Fixed up warnings that that created,
- Changed GHashFunc and GCompareFunc to take g_const_pointer
  arguments. (Necessary, but will cause warnings in existing
  code until fixed)
- Added other new const in harmless positions.

27 years agoRemoved the fleur_cursor field. Now the cursor is created/destroyed on
Federico Mena Quintero [Tue, 9 Jun 1998 21:01:45 +0000 (21:01 +0000)]
Removed the fleur_cursor field. Now the cursor is created/destroyed on

1998-06-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
fleur_cursor field.  Now the cursor is created/destroyed on demand
by the routines that need it.

* gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
(gtk_handle_box_motion): The fleur cursor is created and destroyed
only when needed.

27 years agoFix for people using name mangling
Elliot Lee [Tue, 9 Jun 1998 20:16:12 +0000 (20:16 +0000)]
Fix for people using name mangling

27 years agoJust a convenience to parallel gtk-config
Elliot Lee [Tue, 9 Jun 1998 20:10:48 +0000 (20:10 +0000)]
Just a convenience to parallel gtk-config

Just a convenience to parallel gtk-config

27 years agoWarning cleanups.. cvsignore stuff
Manish Singh [Tue, 9 Jun 1998 10:33:56 +0000 (10:33 +0000)]
Warning cleanups.. cvsignore stuff

-Yosh

27 years agorenamed the newly created gtk_enum_get_values and gtk_enum_set_values to
Tim Janik [Tue, 9 Jun 1998 08:21:20 +0000 (08:21 +0000)]
renamed the newly created gtk_enum_get_values and gtk_enum_set_values to

Tue Jun  9 09:57:09 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
        gtk_enum_set_values to gtk_type_enum_get_values and
        gtk_type_enum_set_values respectively, since they are actually type
        system features.

        * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
        my last commit. ;)

27 years agoremoved some bogus commas.
Tim Janik [Tue, 9 Jun 1998 07:14:34 +0000 (07:14 +0000)]
removed some bogus commas.

27 years agonew functions gtk_selection_data_copy and gtk_selection_data_free.
Tim Janik [Tue, 9 Jun 1998 07:11:55 +0000 (07:11 +0000)]
new functions gtk_selection_data_copy and gtk_selection_data_free.

Tue Jun  9 01:57:23 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkselection.h:
        * gtk/gtkselection.c: new functions gtk_selection_data_copy and
        gtk_selection_data_free.

        * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
        for "selection_received", which was completely bogus.
        * other fixups to gtk_signal_new() calls all over the place.

        * gtk/gtktypebuiltins.h: types as variables (formerly macros).
        * gtk/gtktypebuiltins_vars.c: type variable implementations.
        * gtk/gtktypebuiltins_ids.c: array entries for builtin type
        declarations.
        * gtk/gtktypebuiltins_evals.c: enum value arrays.
        * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
        gtk.defs.
        * gtk/gtk.defs: generated file with scheme syntax for type definitions
        of gtk and gdk structures and enums.
        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: reworked type ids, so they are variables not
        macros anymore (this fixes binary incompatibility with new enum
        definitions).

        * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
        key bindings for this widget.
        * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
        handler.

        * gtk/gtkobject.h:
        * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
        again. new functions gtk_object_class_user_signal_new () and
        gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
        flag on the signal creation.
Mon Jun  8 20:52:21 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.

27 years agocheck for func in g_[s]list_insert_sorted and g_[s]list_find_custom
Tim Janik [Mon, 8 Jun 1998 04:09:21 +0000 (04:09 +0000)]
check for func in g_[s]list_insert_sorted and g_[s]list_find_custom

27 years agowrapped enum definitions with glib macros.
Tim Janik [Mon, 8 Jun 1998 03:38:24 +0000 (03:38 +0000)]
wrapped enum definitions with glib macros.

Mon Jun  8 02:52:37 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdkprivate.h:
        * gdk/gdktypes.h:
        * gtk/gtkprivate.h:
        * gtk/gtkwidget.h:
        * gtk/gtkobject.h: wrapped enum definitions with glib macros.

        * reworked enum value array generation code. gtk.defs is a generated
        file now.

27 years agoStart of marshalling centralization.
Elliot Lee [Mon, 8 Jun 1998 01:37:27 +0000 (01:37 +0000)]
Start of marshalling centralization.

Start of marshalling centralization.

Please check this over for sanity. I think the perl script and Makefile might
need fixing up to allow builddir != srcdir

I will start converting all the widgets to use this scheme if no problems
arise.

27 years agohrm.. extra #pragma..
Manish Singh [Sun, 7 Jun 1998 23:43:00 +0000 (23:43 +0000)]
hrm.. extra #pragma..

-Yosh

27 years agosilly typo
Manish Singh [Sun, 7 Jun 1998 23:22:42 +0000 (23:22 +0000)]
silly typo

-Yosh

27 years agoAdded g_s?list_find_custom functions to allow user to specify a
Elliot Lee [Sun, 7 Jun 1998 20:18:21 +0000 (20:18 +0000)]
Added g_s?list_find_custom functions to allow user to specify a

Added g_s?list_find_custom functions to allow user to specify a
GCompareFunc to determine whether a node matches or not.

If you have a better idea for naming the functions, please, make it so! :)

27 years agoAllow the user to pass --enable-mem-check and --enable-mem-profile at
Elliot Lee [Sun, 7 Jun 1998 17:37:15 +0000 (17:37 +0000)]
Allow the user to pass --enable-mem-check and --enable-mem-profile at

Allow the user to pass --enable-mem-check and --enable-mem-profile at
compile time.

27 years agofeature check menu items in the compatibility code (this required me to
Tim Janik [Sun, 7 Jun 1998 13:44:34 +0000 (13:44 +0000)]
feature check menu items in the compatibility code (this required me to

Sun Jun  7 14:34:31 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
        check menu items in the compatibility code (this required me to remove
        the "<check>" part from the menu item name, grrr).

27 years agofurther additions to fit the gimp's code. additions to the dumping code to
Tim Janik [Sun, 7 Jun 1998 12:22:45 +0000 (12:22 +0000)]
further additions to fit the gimp's code. additions to the dumping code to

Sun Jun  7 10:53:02 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkitemfactory.h:
        * gtk/gtkitemfactory.c: further additions to fit the gimp's code.
        additions to the dumping code to feature GtkPatternSpec.
        even found a bug to fix in the original code ;)

27 years agoNew prototypes. New functions.
Marius Vollmer [Sun, 7 Jun 1998 12:00:55 +0000 (12:00 +0000)]
New prototypes. New functions.

* gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
* gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.

27 years ago*** empty log message ***
Marius Vollmer [Sun, 7 Jun 1998 12:00:26 +0000 (12:00 +0000)]
*** empty log message ***

27 years agosupport different types of callbacks, to maintain existing code.
Tim Janik [Sun, 7 Jun 1998 07:52:26 +0000 (07:52 +0000)]
support different types of callbacks, to maintain existing code.

Sun Jun  7 09:36:04 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkitemfactory.h:
        * gtk/gtkitemfactory.c: support different types of callbacks, to
        maintain existing code.

... changes to the item factory to ease support of the gimp's code...

27 years agoremove these files, we got gtkaccelgroup.[ch] now.
Tim Janik [Sun, 7 Jun 1998 07:05:12 +0000 (07:05 +0000)]
remove these files, we got gtkaccelgroup.[ch] now.

27 years agofixed an assertment.
Tim Janik [Sun, 7 Jun 1998 06:48:56 +0000 (06:48 +0000)]
fixed an assertment.

Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.

        * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
        this should eventually be done by gentypeinfo.el somewhen.
        * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.

        * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
        enum values of an enum type.

        * gtk/gtk.defs:
        * gtk/gtkcurve.h:
        * gtk/gtkobject.h:
        * gtk/gtkprivate.h:
        * gtk/gtkwidget.h:
        * gtk/gtkenums.h:
        brought enum/flags definitions in sync, added a few more enum
        definitions for bindings and pattern matching.

        * some more macro and GtkType fixups in various places.

        * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
        as a key-release modifier for the binding system.

Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
        was a stale list pointer that is already present in GtkMenuShell.

        * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
        GtkMenuShell::selection_done which is emitted after the menu shell
        poped down again and all possible menu items have been activated.

Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
        before activation of the menuitem, so the menu is actually taken off the
        screen prior to any menu item activation.

        * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
        for NULL nodes.

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
        the emission of the "add-accelerator" signal on a widget. this is
        usefull to prevent accelerator installation on certain widgets.

        * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
        labels left justified, by setting their alignment. stop accelerator
        installation for the menu items, since we use dynamic menus.

Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
        should *really* use GtkItemFactory. this is only for preserving source
        compatibility where possible, use of GtkMenuFactory is deprecated as of
        now.

        * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
        to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
        missed this possibility when i added gtk_object_class_add_user_signal
        in late january.

        * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.

Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkaccelgroup.h:
        * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.

        * gtk/gtkaccellabel.h:
        * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
        display of the accelerators associated with a certain widget.

        * gtk/gtkitemfactory.h:
        * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
        parsing and accelerator handling.

        * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
        positioning a menu.
        (gtk_menu_map): removed the allocation code.
        (gtk_menu_size_allocate): care for redrawing of children and resize
        our widget->window correctly.
        (gtk_menu_key_press): feature the new accelerator groups.

        * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
        submenu if neccessary.

        * gtk/gtkmenuitem.c:
        * gtk/gtkcheckmenuitem.c:
        * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
        function variants.

        * gdk/gdk.c:
        (gdk_keyval_from_name):
        (gdk_keyval_name): new functions for keyval<->key-name associations.
        (gdk_keyval_to_upper):
        (gdk_keyval_to_lower):
        (gdk_keyval_is_upper):
        (gdk_keyval_is_lower): new functions to check/translate keyvalues with
        regards to their cases.

Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
        widget's class path.
        (gtk_widget_path): new function to calculate a widget's name path.

        * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
        pattern matching, features reversed pattern matches.

27 years agoCommented out the MEM_PROFILE and MEM_CHECK from gmem.c, causing problems
Manish Singh [Sat, 6 Jun 1998 21:16:57 +0000 (21:16 +0000)]
Commented out the MEM_PROFILE and MEM_CHECK from gmem.c, causing problems
with GdkImages.

Updates some .cvsignores

-Yosh

27 years agoAdd \n's on the end of g_prints in the mem profiling code.
Elliot Lee [Fri, 5 Jun 1998 21:00:15 +0000 (21:00 +0000)]
Add \n's on the end of g_prints in the mem profiling code.

Add \n's on the end of g_prints in the mem profiling code.

27 years agoSet package version to 1.0.4 in anticipation of upcoming release.
rhlabs [Thu, 4 Jun 1998 16:04:09 +0000 (16:04 +0000)]
Set package version to 1.0.4 in anticipation of upcoming release.

Dr Mike

27 years agoNew files to automagically extract code examples from the tutorial.
BST 1998 Tony Gale [Thu, 4 Jun 1998 11:15:55 +0000 (11:15 +0000)]
New files to automagically extract code examples from the tutorial.

Thu Jun  4 12:12:11 BST 1998  Tony Gale  <gale@gtk.org>

        * examples/extract.sh, examples/extract.awk:
          New files to automagically extract code examples from the
          tutorial.

27 years agoreversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
Lars Hamann [Tue, 2 Jun 1998 19:32:33 +0000 (19:32 +0000)]
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER

27 years agominor changes to support auto extraction of example code
BST 1998 Tony Gale [Tue, 2 Jun 1998 12:08:14 +0000 (12:08 +0000)]
minor changes to support auto extraction of example code

Tue Jun  2 13:04:06 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml: minor changes to support auto
          extraction of example code

27 years agoAdded function gtk_clist_swap to swap two rows in a clist; I also have
Jay Painter [Tue, 2 Jun 1998 02:51:46 +0000 (02:51 +0000)]
Added function gtk_clist_swap to swap two rows in a clist; I also have
finally fixed pixmap clipping so pixmaps are always cliped to the row.

27 years agowrote a comment describing why a hash node's key should not also get
Tim Janik [Tue, 2 Jun 1998 01:11:17 +0000 (01:11 +0000)]
wrote a comment describing why a hash node's key should not also get

Mon Jun  1 04:43:27 1998  Tim Janik  <timj@gtk.org>

        * ghash.c (g_hash_table_insert): wrote a comment describing why
        a hash node's key should not also get replaced when overriding
        previous entries.

Tue May 26 18:30:06 1998  Tim Janik  <timj@gtk.org>

        * glib.h (g_string_sized_new): new function to controll the preallocated
        size of a GString.

        * glib.h (g_strreversed): new function to reverse a string.

27 years agoUpdate of Italian Tutorial to Tutorial of 24th May, from Daniele Canazza
BST 1998 Tony Gale [Mon, 1 Jun 1998 11:53:08 +0000 (11:53 +0000)]
Update of Italian Tutorial to Tutorial of 24th May, from Daniele Canazza

Mon Jun  1 12:47:56 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut_it.sgml: Update of Italian Tutorial
          to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>

27 years ago- new section on Events - change all delete_event callbacks to include a
BST 1998 Tony Gale [Fri, 29 May 1998 12:43:18 +0000 (12:43 +0000)]
- new section on Events - change all delete_event callbacks to include a

Fri May 29 13:53:57 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
          - new section on Events
          - change all delete_event callbacks to include
            a GdkEvent parameter
          - clean up the formatting

        * examples - helloworld.c, helloworld2.c, notebook.c,
          packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
          rulers.c, table.c, wheelbarrow.c: change all delete_event
           callbacks to include a GdkEvent parameter.

27 years agoNew enumeration for the "mode" field of crossing events. (struct
Federico Mena Quintero [Wed, 27 May 1998 02:01:40 +0000 (02:01 +0000)]
New enumeration for the "mode" field of crossing events. (struct

1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
field of crossing events.
(struct _GdkEventCrossing): Added the following fields: time, x,
y, x_root, y_root, mode, focus, state.

* gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
crossing event structure.

* gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
changes to the crossing event structure.

27 years agoinclude gdkx.h always (for GDK_ROOT_WINDOW)
Radek Doulik [Tue, 26 May 1998 13:54:38 +0000 (13:54 +0000)]
include gdkx.h always (for GDK_ROOT_WINDOW)

Tue May 26 15:51:28 1998  Radek Doulik  <gis@academy.cas.cz>

* gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)

27 years agoRevert, as per Owen's request
Elliot Lee [Mon, 25 May 1998 02:41:36 +0000 (02:41 +0000)]
Revert, as per Owen's request

27 years agoMake GtkEditable use signals instead of calling klass->... for stuff. Could someone...
Elliot Lee [Sun, 24 May 1998 20:56:35 +0000 (20:56 +0000)]
Make GtkEditable use signals instead of calling klass->... for stuff. Could someone look at the get_chars routine to see how to return the value properly?

27 years ago- GtkTooltips, update to current API - change all 'gpointer *data' to
BST 1998 Tony Gale [Sun, 24 May 1998 11:23:04 +0000 (11:23 +0000)]
- GtkTooltips, update to current API - change all 'gpointer *data' to

Sun May 24 12:11:38 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
           - GtkTooltips, update to current API
           - change all 'gpointer *data' to 'gpointer data'
           - other minor changes

27 years agoBombo out with a moderately helpful message if detection of X libraries
Owen Taylor [Sun, 24 May 1998 02:48:09 +0000 (02:48 +0000)]
Bombo out with a moderately helpful message if detection of X libraries

Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>

* configure.in (LDFLAGS): Bombo out with a moderately
  helpful message if detection of X libraries fails.

27 years agoLocate child at (border_width,border_width), not
Owen Taylor [Sat, 23 May 1998 21:55:40 +0000 (21:55 +0000)]
Locate child at (border_width,border_width), not

Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkeventbox.c (gtk_event_box_size_allocate):
        Locate child at (border_width,border_width), not
(2*border_width,2*border_width). [ The border is _outside_
widget->window ]

* gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
  functions. [From: Alexander Larsson <alla@lysator.liu.se> ]

27 years agoOops. Commited a file I should not have. Revert change
Arturo Espinosa [Fri, 22 May 1998 23:48:02 +0000 (23:48 +0000)]
Oops.  Commited a file I should not have.  Revert change

27 years agoDefine GTK_HAVE_RC_SET_IMAGE_LOADER, to be used in gnome-libs
Miguel de Icaza [Fri, 22 May 1998 23:43:03 +0000 (23:43 +0000)]
Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be used in gnome-libs

1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
used in gnome-libs

27 years agoFix size_allocate to pass on to the child even if child isn't visible.
Elliot Lee [Fri, 22 May 1998 21:33:44 +0000 (21:33 +0000)]
Fix size_allocate to pass on to the child even if child isn't visible.

Fix size_allocate to pass on to the child even if child isn't visible.
Also locate child at (border_width, border_width) not (0,0)

27 years agoChanged log
Owen Taylor [Fri, 22 May 1998 07:09:15 +0000 (07:09 +0000)]
Changed log

27 years agoAdded style_set handler.
Owen Taylor [Fri, 22 May 1998 07:07:11 +0000 (07:07 +0000)]
Added style_set handler.

Fri May 22 03:02:40 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkhandlebox.c: Added style_set handler.

Fri May 22 02:55:57 1998  Owen Taylor  <otaylor@gtk.org>
 [ From: Chris Lahey  <clahey@umich.edu> ]

* gtk/gtkeditable.c, gtk/gtkeditable.h,
  gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
  and set_position functions to get and set the cursor position.

        * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
  signal status. Make GtkText do user-controlled insertion
  and deletion through the Editable widget so that these
  signals are properly emitted.

* gtk/gtkentry.c: Changed gtk_entry_set_visibility to
  display asterisks instead of empty space when visible = FALSE)

27 years agouse GTK_TYPE_GDK_EVENT in (un)?select_row signal.
CEST 1998 Paolo Molaro [Fri, 22 May 1998 06:55:20 +0000 (06:55 +0000)]
use GTK_TYPE_GDK_EVENT in (un)?select_row signal.

Fri May 22 08:51:10 CEST 1998  Paolo Molaro <lupus@debian.org>

* gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
signal.

27 years agoclog ent for changes
Elliot Lee [Thu, 21 May 1998 21:09:19 +0000 (21:09 +0000)]
clog ent for changes

27 years agoI should have named it gtk_rc_set_image_loader() initially - fixed
Elliot Lee [Thu, 21 May 1998 19:26:19 +0000 (19:26 +0000)]
I should have named it gtk_rc_set_image_loader() initially - fixed

27 years agoAllow user to set a custom image loading routine for loading bg_pixmap's
Elliot Lee [Thu, 21 May 1998 19:24:01 +0000 (19:24 +0000)]
Allow user to set a custom image loading routine for loading bg_pixmap's

Allow user to set a custom image loading routine for loading bg_pixmap's specified in the
gtkrc's.

27 years agoUse pthread_attr_init() as a test function, since most of the rest of
Owen Taylor [Wed, 20 May 1998 03:41:28 +0000 (03:41 +0000)]
Use pthread_attr_init() as a test function, since most of the rest of

Tue May 19 23:41:04 1998  Owen Taylor  <otaylor@gtk.org>

* configure.in: Use pthread_attr_init() as a test function,
since most of the rest of -lpthread is macros on DU4.

Mon May 18 22:14:39 1998  Owen Taylor  <otaylor@gtk.org>
(Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp> : gtk-joke-980517-0.patch)

* gutils.c: Restored a missing prototype for g_vsprintf.

27 years agoconditionally define NULL, FALSE and TRUE. (g_mem_chunk_create): new
Tim Janik [Wed, 20 May 1998 03:31:30 +0000 (03:31 +0000)]
conditionally define NULL, FALSE and TRUE. (g_mem_chunk_create): new

Wed May 20 05:02:26 1998  Tim Janik  <timj@gtk.org>

        * glib.h: conditionally define NULL, FALSE and TRUE.
        (g_mem_chunk_create): new convenience macro as a short hand for
        g_mem_chunk_new().
        (g_chunk_free): new convenience macro to be consistent with g_chunk_new.

27 years agoAdd GDK_SUBSTRUCTURE_NOTIFY_MASK
Elliot Lee [Tue, 19 May 1998 22:33:24 +0000 (22:33 +0000)]
Add GDK_SUBSTRUCTURE_NOTIFY_MASK

Add GDK_SUBSTRUCTURE_NOTIFY_MASK

Fixed GDK_DESTROY handling WRT GnomeRootwin widget.

27 years agogdk_region_get_clipbox() lets you get a rectangle around the region.
Elliot Lee [Tue, 19 May 1998 16:17:00 +0000 (16:17 +0000)]
gdk_region_get_clipbox() lets you get a rectangle around the region.

gdk_region_get_clipbox() lets you get a rectangle around the region.

27 years agoTue, 19 May 1998 11:51:02 +0200 Paolo Molaro <lupus@debian.org>
Paolo Molaro [Tue, 19 May 1998 10:17:31 +0000 (10:17 +0000)]
Tue, 19 May 1998 11:51:02 +0200 Paolo Molaro <lupus@debian.org>

* added generic functions for completion in glib.
* used the above functions in the gtkcombo widget.

27 years agoentry for previous change
Elliot Lee [Mon, 18 May 1998 22:36:05 +0000 (22:36 +0000)]
entry for previous change

27 years agoAllow GTK_DEBUG=signals - VERY useful ;-)
Elliot Lee [Mon, 18 May 1998 22:34:43 +0000 (22:34 +0000)]
Allow GTK_DEBUG=signals - VERY useful ;-)

Allow GTK_DEBUG=signals - VERY useful ;-)